package com.mz.ozy.bean;

import java.util.List;

public class FriendBean {


    public int getJknum() {
        return jknum;
    }

    public void setJknum(int jknum) {
        this.jknum = jknum;
    }

    /**
     * grade_state : 0
     * 返回参数说明 : grade(会员等级0-普通会员1-VIP2-金卡VIP3-钻卡VIP4-健康顾问5-资深顾问6-蓝宝顾问7-绿宝顾问8-红宝督导9-蓝钻督导10-绿钻督导11-红钻督导12-黑钻首席),grade_state(0在职1休职2停职3离职),useravatar(头像),nickname(昵称),invitecode(专属id),num(邀请数量),page(直推列表 grade(会员等级0-普通会员1-VIP2-金卡VIP3-钻卡VIP4-健康顾问5-资深顾问6-蓝宝顾问7-绿宝顾问8-红宝督导9-蓝钻督导10-绿钻督导11-红钻督导12-黑钻首席),invitecode(专属id),useravatar(头像),username(手机号),regtime(注册日期))
     * invitecode : 123456
     * grade : 0
     * num : 1
     * nickname : 123123
     * respMsg : SUCCESS
     * useravatar : http://ozy.ozylives.com/ktshop1586761766616
     * page : {"pageTotle":1,"pageNumber":1,"pagesAvailable":1,"sysAmtFeeSum":0,"pageSize":20,"pageItems":[{"regtime":"2020-04-14 11:00:17","invitecode":"baJony","grade":0,"useravatar":"","username":"182****1854"}],"sumResult":{},"pageAmtSum":0}
     * sessionId : F8A32BB1FE0DB6A6E4DB21B27FC5722A
     * respCode : 00000
     */
    private int jknum;
    private int grade_state;
    private String invitecode;
    private int grade;
    private int num;
    private String nickname;
    private String useravatar;
    private PageBean page;
    /**
     * 返回参数说明 : promotion_map(审核内容 空表示没有记录 certificate(升级证书),state(0-待审核 1-审核通过 2-审核失败),reason(审核原因))
     * promotion_map : {"certificate":"http://ozy.ozylives.com/ktshop1586943459154","state":0}
     * respMsg : SUCCESS
     * sessionId : A05F991FE8CA370430CAC1827574E21F
     * respCode : 00000
     */

    private PromotionMapBean promotion_map;

    public int getGrade_state() {
        return grade_state;
    }

    public void setGrade_state(int grade_state) {
        this.grade_state = grade_state;
    }

    public String getInvitecode() {
        return invitecode;
    }

    public void setInvitecode(String invitecode) {
        this.invitecode = invitecode;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUseravatar() {
        return useravatar;
    }

    public void setUseravatar(String useravatar) {
        this.useravatar = useravatar;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public PromotionMapBean getPromotion_map() {
        return promotion_map;
    }

    public void setPromotion_map(PromotionMapBean promotion_map) {
        this.promotion_map = promotion_map;
    }

    public static class PageBean {
        /**
         * pageTotle : 1
         * pageNumber : 1
         * pagesAvailable : 1
         * sysAmtFeeSum : 0
         * pageSize : 20
         * pageItems : [{"regtime":"2020-04-14 11:00:17","invitecode":"baJony","grade":0,"useravatar":"","username":"182****1854"}]
         * sumResult : {}
         * pageAmtSum : 0
         */

        private int pageTotle;
        private int pageNumber;
        private int pagesAvailable;
        private int sysAmtFeeSum;
        private int pageSize;
        private SumResultBean sumResult;
        private int pageAmtSum;
        private List<PageItemsBean> pageItems;

        public int getPageTotle() {
            return pageTotle;
        }

        public void setPageTotle(int pageTotle) {
            this.pageTotle = pageTotle;
        }

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPagesAvailable() {
            return pagesAvailable;
        }

        public void setPagesAvailable(int pagesAvailable) {
            this.pagesAvailable = pagesAvailable;
        }

        public int getSysAmtFeeSum() {
            return sysAmtFeeSum;
        }

        public void setSysAmtFeeSum(int sysAmtFeeSum) {
            this.sysAmtFeeSum = sysAmtFeeSum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public SumResultBean getSumResult() {
            return sumResult;
        }

        public void setSumResult(SumResultBean sumResult) {
            this.sumResult = sumResult;
        }

        public int getPageAmtSum() {
            return pageAmtSum;
        }

        public void setPageAmtSum(int pageAmtSum) {
            this.pageAmtSum = pageAmtSum;
        }

        public List<PageItemsBean> getPageItems() {
            return pageItems;
        }

        public void setPageItems(List<PageItemsBean> pageItems) {
            this.pageItems = pageItems;
        }

        public static class SumResultBean {
        }

        public static class PageItemsBean {
            /**
             * regtime : 2020-04-14 11:00:17
             * invitecode : baJony
             * grade : 0
             * useravatar :
             * username : 182****1854
             */

            private String regtime;
            private String invitecode;
            private int grade;
            private String useravatar;
            private String username;
            private String uname;

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getRegtime() {
                return regtime;
            }

            public void setRegtime(String regtime) {
                this.regtime = regtime;
            }

            public String getInvitecode() {
                return invitecode;
            }

            public void setInvitecode(String invitecode) {
                this.invitecode = invitecode;
            }

            public int getGrade() {
                return grade;
            }

            public void setGrade(int grade) {
                this.grade = grade;
            }

            public String getUseravatar() {
                return useravatar;
            }

            public void setUseravatar(String useravatar) {
                this.useravatar = useravatar;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }
        }
    }

    public static class PromotionMapBean {
        /**
         * certificate : http://ozy.ozylives.com/ktshop1586943459154
         * state : 0
         */

        private String certificate;
        private String id;
        private int state = 4;
        private int upgrade;

        public int getUpgrade() {
            return upgrade;
        }

        public String getId() {
            return id;
        }

        public String getCertificate() {
            return certificate;
        }

        public void setCertificate(String certificate) {
            this.certificate = certificate;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }
    }
}
